import request from '@/utils/request'

// 查询课程视频列表列表
export function listCompassVideoList(query) {
    return request({
        url: '/system/CompassVideoList/list',
        method: 'get',
        params: query
    })
}

// 查询课程视频列表详细
export function getCompassVideoList(id) {
    return request({
        url: '/system/CompassVideoList/' + id,
        method: 'get'
    })
}

// 新增课程视频列表
export function addCompassVideoList(data) {
    return request({
        url: '/system/CompassVideoList',
        method: 'post',
        data: data
    })
}

// 修改课程视频列表
export function updateCompassVideoList(data) {
    return request({
        url: '/system/CompassVideoList',
        method: 'put',
        data: data
    })
}

// 删除课程视频列表
export function delCompassVideoList(id) {
    return request({
        url: '/system/CompassVideoList/' + id,
        method: 'delete'
    })
}

// 导出课程视频列表
export function exportCompassVideoList(query) {
    return request({
        url: '/system/CompassVideoList/export',
        method: 'get',
        params: query
    })
}